package request

type AddUser struct {
	Username string `json:"username" form:"username" binding:"required"` // 账号
	Password string `json:"password" form:"password" binding:"required"` // 密码
}
type LoginUser struct {
	Username string `json:"username" form:"username" binding:"required"` // 账号
	Password string `json:"password" form:"password" binding:"required"` // 密码
}

type AddBoo struct {
	BooId    uint   `json:"boo_id" form:"boo_id" binding:"required"`     // 直播ID
	UserId   uint   `json:"user_id" form:"user_id" binding:"required"`   // 用户ID
	Username string `json:"username" form:"username" binding:"required"` // 昵称
	Sex      uint   `json:"sex" form:"sex" binding:"required"`           // 性别
}

type AddBooF struct {
	User  string `gorm:"column:user;type:varchar(255);comment:昵称;not null;" json:"user"`                   // 昵称
	CType string `gorm:"column:c_type;type:varchar(255);comment:类别 0新粉丝1 老粉丝2真爱粉;not null;" json:"c_type"` // 类别 0新粉丝1 老粉丝2真爱粉
}

type UpdateBoo struct {
	Iid  uint `json:"iid" form:"iid" binding:"required"`
	CTyp uint `json:"c_typ" form:"c_typ" binding:"required"`
}
